#!/usr/bin/env io

Tester := Object clone

Tester myText := "This is the <b>BOLD</b> text that I want to extract."
Tester myResult := "Initial Value"

Tester before := method(

    myText println
    ("initial value: " .. myResult) println
    
)

Tester setVar := method(

    "Trying to extract." println
    myResult = "New Value" // at this point, extract the contents

)

Tester after := method(

    "Extracted:" println
    ("New Value: " .. myResult) println
    
)



Tester before
Tester setVar
Tester after
